﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Acoris.Rendering
{
    using Acoris.Media;

#if WIN2D
    using Microsoft.Graphics.Canvas;
#endif

    /// <summary>
    /// 表示一个绘图上下文接口
    /// </summary>
    public interface IDrawingContext
    {
        /// <summary>
        /// 获取创建渲染资源的工厂接口
        /// </summary>
        IDrawingResourceFactory Factory { get; }

#if WIN2D
        /// <summary>
        /// 
        /// </summary>
        ICanvasResourceCreator Device { get; }

        /// <summary>
        ///  
        /// </summary>
        CanvasDrawingSession DrawingContext { get; }
#endif
    }
}
